package cn.bluethink.timescaledb.service;

import cn.bluethink.timescaledb.entity.ResponseDTO;
import cn.bluethink.timescaledb.filter.QueryFilter;
import onegis.filter.GFilter;
import onegis.psde.dynamicdata.DynamicDatas;
import org.geotools.filter.text.cql2.CQLException;

import java.text.ParseException;
import java.util.List;

public interface TimeScaleDynamicService {

    ResponseDTO save(DynamicDatas dynamicDatas) throws ParseException;

    ResponseDTO query(GFilter formatFilter, String feign, boolean b, QueryFilter queryFilter) throws Exception;
}
